#ifndef MATCHPROCPARAMCOLLECTRESPONSEMODEL_H
#define MATCHPROCPARAMCOLLECTRESPONSEMODEL_H
#include "JsonSerializable.h"

namespace MesModel{

class MatchProcParamCollectResponsePcuInfo;

class MatchProcParamCollectResponseModel: public JsonSerializable
{
public:
    MatchProcParamCollectResponseModel()=default;
    MatchProcParamCollectResponseModel(QString factoryNo,QString transId,QDateTime eventTime,QString resultCode,QList<MatchProcParamCollectResponsePcuInfo> pcuInfo);
    void fromJson(const QJsonObject &json)override;
    QJsonObject toJson() const override;
public:
    QString factoryNo;
    QString transId;
    QDateTime eventTime;
    QString resultCode;
    QList<MatchProcParamCollectResponsePcuInfo> pcuInfo;

};

class MatchProcParamCollectResponsePcuInfo: public JsonSerializable
{
public:
    QString locationNo;
    QString pcu;
    QString resultMsg;

    MatchProcParamCollectResponsePcuInfo()=default;
    MatchProcParamCollectResponsePcuInfo(QString locationNo,QString pcu,QString resultMsg);
    void fromJson(const QJsonObject &json)override;
    QJsonObject toJson() const override;

};


}
#endif // MATCHPROCPARAMCOLLECTRESPONSEMODEL_H
